<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
	<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>超市订单管理系统</title>
<link type="text/css" rel="stylesheet" href="${pageContext.request.contextPath }/static/css/style.css" />
<link type="text/css" rel="stylesheet" href="${pageContext.request.contextPath }/static/css/public.css" />
</head>
<body>
	<!--头部-->
	<header class="publicHeader">
	<h1>超市订单管理系统</h1>
	<div class="publicHeaderR">
		<p>
			<span>下午好！</span><span style="color: #fff21b"> 系统管理员</span> , 欢迎你！
		</p>
		<a href="/SMBMS/jsp/logout.do">退出</a>
	</div>
	</header>
	<!--时间-->
	<section class="publicTime"> <span id="time">2015年1月1日
		11:11 星期一</span> <a href="#">温馨提示：为了能正常浏览，请使用高版本浏览器！（IE10+）</a> </section>
	<!--主体内容-->
	<section class="publicMian ">
	<div class="left">
		<h2 class="leftH2">
			<span class="span1"></span>功能列表 <span></span>
		</h2>
		<nav>
		<ul class="list">
			<li><a href="/SMBMS/jsp/bill.do?method=query">订单管理</a></li>
			<li><a href="/SMBMS/jsp/provider.do?method=query">供应商管理</a></li>
			<li><a href="/SMBMS/jsp/user.do?method=query">用户管理</a></li>
			<li><a href="/SMBMS/jsp/pwdmodify.jsp">密码修改</a></li>
			<li><a href="/SMBMS/jsp/logout.do">退出系统</a></li>
		</ul>
		</nav>
	</div>
	<input type="hidden" id="path" name="path" value="/SMBMS" /> <input
		type="hidden" id="referer" name="referer"
		value="http://localhost:8080/SMBMS/jsp/user.do?method=query" />
	<div class="right">
		<div class="location">
			<strong>你现在所在的位置是:</strong> <span>用户管理页面 >> 用户信息查看页面</span>
		</div>
		<div class="providerView">
			<p>
				<strong>用户编号：</strong><span>${user.userCode }</span>
			</p>
			<p>
				<strong>用户名称：</strong><span>${user.userName }</span>
			</p>
			<p>
				<strong>用户性别：</strong> <span>
					<c:if test="${user.gender=='1'}">男</c:if>
					<c:if test="${user.gender=='2'}">女</c:if> </span>
			</p>
			<p>
				<strong>出生日期：</strong><span>${user.birthday }</span>
			</p>
			<p>
				<strong>用户电话：</strong><span>${user.phone }</span>
			</p>
			<p>
				<strong>用户地址：</strong><span>${user.address }</span>
			</p>
			<p>
				<strong>用户角色：</strong><span>
				 <c:if test="${user.userRole==1}">管理员</c:if> <c:if
									test="${user.userRole==2}">经理</c:if> <c:if test="${user.userRole==3}">普通员工</c:if>
				</span>
			</p>
			<div class="providerAddBtn">
				<input type="button" id="back" name="back" value="返回">
			</div>
		</div>
	</div>
	</section>


	<footer class="footer"> 版权归北大青鸟 </footer>
	<script type="text/javascript" src="/SMBMS/js/time.js"></script>
	<script type="text/javascript" src="/SMBMS/js/jquery-1.8.3.min.js"></script>
	<script type="text/javascript" src="/SMBMS/js/common.js"></script>
	<script type="text/javascript" src="/SMBMS/calendar/WdatePicker.js"></script>
</body>
</html>